<!--
 * @Author: jhy
 * @Date: 2024-08-26 11:10:07
 * @LastEditTime: 2024-08-26 16:26:21
 * @LastEditors: jhy
 * @Description: 
 * @FilePath: /yiyu/szzjzc/src/views/activeDetail.vue
-->
<template>
  <div class="activeDetail">

    <div class="zbd">
      <div class="product">
        <div class="product-info">
          浙建招采平台金融服务产品介绍 <br>
          为解决浙建集团众多小微供应商合同签订后备货资金紧张的情况，为解决小微企业融资难、融资贵的局面，为更好的服务浙建招采平台会员供应商，提高服务能力，特推出会员专属金融服务产品。 <br>
          合同贷： <br>
          合同贷是一款用户凭项目采购招标的中标通知书进行融资贷款的产品。用户在收到中标通知书后即可选择银行产品进行申请，申请后由银行进行尽调审批，最终进行授信放款。 <br>
          产品特征： <br>
          1.手续简单2.额度高3.费率低4.无需抵押纯信用 <br>
          产品优势： <br>
          1.不占用浙建集团核心企业授信 <br>
          2.不纳入集团整体负债 <br>
          3.无需集团核心企业确权 <br>
          4.无需回款保证 <br>
        </div>
        <img src="@/assets/u2064.svg" />
      </div>
      <div class="zbd-list">
        <div class="list-item" @click="goTo(1)">
          <div class="img-wrapper"><img
              src="https://zcy-gov-open-doc.oss-cn-north-2-gov-1.aliyuncs.com/1089PT/null/10006343987/202111/8315f472-076a-45a7-b003-6dc505238c96"
              class="list-img"></div>
          <p class="content-name po-tooltip" aria-describedby="po-tooltip-3997" tabindex="0">
            中标贷
          </p>
          <div class="content-data">
            <div class="display-inline">
              <div class="list-rate">
                <div>
                  <p class="highlights"><span>
                      4
                      <span class="font-12" style="color: rgb(236, 54, 70); margin-left: -3px;">%</span></span>
                    <!----> <!---->
                  </p> <span class="font12">
                    最低年利率
                  </span>
                </div>
              </div>
            </div>
            <div class="display-inline">
              <div class="list-quota">
                <p class="highlights"><span>
                    500
                  </span> <span class="font-12" style="color: rgb(236, 54, 70); margin-left: -3px;">万</span></p> <span
                  class="font12">
                  最高贷款额度
                </span>
              </div> <!---->
            </div>
          </div>
          <ul class="desc">
            <li class="po-tooltip" aria-describedby="po-tooltip-3008" tabindex="0"><span class="dot">·</span> <span
                class="font-14">一纸浙建合同也可抵万金，正合你益！</span></li>
            <li class="po-tooltip" aria-describedby="po-tooltip-4354" tabindex="0"><span class="dot">·</span> <span
                class="font-14"
                title="为中标供应商量身定制的，真正全线上化、纯信用、可循环使用的政府采购合同贷款">为中标供应商量身定制的，真正全线上化、纯信用、可循环使用的政府采购合同贷款</span></li>
          </ul>
          <div class="btn-wrapper"><button type="button"
              class="po-button btn pointer po-button--primary"><!----><!----><span>
                立即申请
              </span></button> <span class="font-14 display-inline mt-4 pointer mr-16 produce-detail">
              产品详情<i class="po-icon-arrow-right"></i></span></div> <!----> <!---->
        </div>
        <div class="list-item" @click="goTo(2)">
          <div class="img-wrapper"><img src="@/assets/wsyh.png" class="list-img"></div>
          <p class="content-name po-tooltip" aria-describedby="po-tooltip-3997" tabindex="0">
            中标贷
          </p>
          <div class="content-data">
            <div class="display-inline">
              <div class="list-rate">
                <div>
                  <p class="highlights"><span>
                      5
                      <span class="font-12" style="color: rgb(236, 54, 70); margin-left: -3px;">%</span></span>
                    <!----> <!---->
                  </p> <span class="font12">
                    最低年利率
                  </span>
                </div>
              </div>
            </div>
            <div class="display-inline">
              <div class="list-quota">
                <p class="highlights"><span>
                    300
                  </span> <span class="font-12" style="color: rgb(236, 54, 70); margin-left: -3px;">万</span></p> <span
                  class="font12">
                  最高贷款额度
                </span>
              </div> <!---->
            </div>
          </div>
          <ul class="desc">
            <li class="po-tooltip2" aria-describedby="po-tooltip-3008" tabindex="0"><span class="dot">·</span> <span
                class="font-14"
                title="中标贷是网商银行为小微企业基于中标项目情况，缓解供应商资金压力，解决供应商资金周转问题提供的一款信贷产品。">中标贷是网商银行为小微企业基于中标项目情况，缓解供应商资金压力，解决供应商资金周转问题提供的一款信贷产品。</span>
            </li>
          </ul>
          <div class="btn-wrapper"><button type="button"
              class="po-button btn pointer po-button--primary"><!----><!----><span>
                立即申请
              </span></button> <span class="font-14 display-inline mt-4 pointer mr-16 produce-detail">
              产品详情<i class="po-icon-arrow-right"></i></span></div> <!----> <!---->
        </div>
        <div class="dhz" style="height: 321px; display: flex; justify-content: center;align-items: center;">
          <div>待合作</div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  methods: {
    goTo(e) {
      this.$router.push(`/productDetail?id=${e}`)
    },
  },
}
</script>

<style lang="scss" scoped>
.activeDetail {
  padding: 2rem 1rem;
}

.zbd {
  &-btn {
    display: flex;
    align-items: center;
    position: absolute;
    left: 120px;
    top: -33px;
    cursor: pointer;

    .txt {
      margin-right: 10px;
      font-size: 1rem;
      color: #182c56;
      line-height: 24px;
    }

    img {
      width: 18px;
    }
  }

  .product {
    display: flex;
    justify-content: space-between;

    &-info {
      width: 57%;
      padding: 10px 1rem;
      border: 1px solid #182c56;
      border-radius: 0.6rem;
      position: relative;
      padding-top: 35px;
      font-size: 17px;
      color: #182B53;
      line-height: 1.2;

      &::before {
        content: '产品介绍';
        position: absolute;
        left: 1rem;
        top: -25px;
        line-height: 50px;
        font-size: 28px;
        text-align: center;
        width: 150px;
        border: 1px solid #182c56;
        background: #eef1f9;
      }
    }

    img {
      width: 37%;
      object-fit: fill;
    }
  }

  .font-12 {
    font-size: 12px;
  }

  &-list {
    display: flex;
    justify-content: space-between;

    .dhz {
      width: 38%;
      border: 1px solid rgba(24, 43, 83, 1);
      border-radius: 1rem;
      margin-top: 30px;
      font-size: 38px;
      color: #182B53;
    }

    .list-item {
      cursor: pointer;
      width: 29%;
      display: inline-block;
      max-height: 358px;
      background-color: #fff;
      padding: 16px;
      margin-top: 30px;
      -webkit-box-shadow: 0 5px 20px rgba(205, 208, 223, .4);
      box-shadow: 0 5px 20px rgba(205, 208, 223, .4);
      position: relative;
      box-sizing: border-box;
    }

    .list-item:not(.list-item:nth-child(3n)) {
      margin-right: 30px
    }

    .list-item:nth-of-type(n+6) {
      margin-top: 30px
    }

    .list-item .list-img {
      height: 40px;
      display: block
    }

    .list-item .content-name {
      font-weight: 500;
      color: #333;
      font-size: 20px;
      margin: 8px 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap
    }

    .list-item .content-data {
      height: 100px;
      background: #fafafa;
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      width: 100%
    }

    .list-item .content-data>div {
      width: 50%;
      text-align: center;
      margin: auto;
      vertical-align: middle
    }

    .list-item .content-data .list-rate .list-quota {
      display: inline-block;
      text-align: left
    }

    .list-item .content-data .highlights {
      font-weight: 600;
      color: #ec3646;
      font-size: 22px
    }

    .list-item .desc {
      color: #999;
      margin-top: 8px;
      margin-bottom: 5px;
      line-height: 26px;
      height: 60px
    }

    .list-item .desc li {
      position: relative;
      padding-left: 15px;
      font-size: 12px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap
    }

    .list-item .desc .dot {
      position: absolute;
      left: 0;
      font-size: 24px
    }

    .list-item .btn-wrapper {
      display: flex;
      display: -webkit-box;
      display: -ms-flexbox;
      display: -webkit-flex;
      justify-content: space-between;
      -webkit-box-pack: justify;
      -ms-flex-pack: justify;
      -webkit-justify-content: space-between;
      -webkit-box-align: center;
      -ms-flex-align: center;
      align-items: center
    }

    .list-item .btn-wrapper .btn {
      width: 200px;
      height: 40px;
      line-height: 40px;
      padding: 0 32px !important;
      background: #1a79ff;
      border: none;
      text-align: center;
      color: #fff
    }

    .list-item .btn-wrapper .btn-disable {
      width: 200px;
      height: 40px;
      line-height: 40px;
      color: #fff;
      cursor: not-allowed;
      background-image: none;
      background-color: #bad7ff;
      border-color: #bad7ff;
      text-align: center
    }

    .list-item .btn-wrapper .produce-detail {
      width: 106px;
      text-align: center;
      color: #1a79ff;
    }

    .po-icon-arrow-right:before {
      font-family: element-icons !important;
      speak: none;
      font-style: normal;
      font-weight: 400;
      font-variant: normal;
      text-transform: none;
      content: "\e6e0";
    }

    .list-item .tag {
      position: absolute;
      top: 8px;
      right: 2px;
      display: flex;
      display: -webkit-box;
      display: -ms-flexbox;
      display: -webkit-flex;
      -ms-flex-line-pack: center;
      align-content: center;
      -webkit-box-align: center;
      -ms-flex-align: center;
      -webkit-align-items: center
    }

    .list-item .tag-content {
      line-height: 12px;
      font-size: 12px;
      background: #dd9d56;
      color: #fff;
      padding: 4px 0 4px 4px
    }

    .list-item .guidance {
      position: absolute;
      right: 4px;
      top: 28px
    }

    .list-item .triangle {
      width: 0;
      height: 0;
      border-top: 10px solid transparent;
      border-right: 15px solid #fff;
      border-bottom: 10px solid transparent;
      margin-right: -3px
    }
  }
}
</style>